var req = require('../../interfaceImpl.js');
var config = require('../../interfaceConfig.js');
var app = getApp();
var ChucStoredActivity='';
var OtherDetailses=[];
Page({
  onLoad: function (options) {  
    return req.VipPayListDetails(app.globalData.token, options.id).then(res => {
      console.log(res)
      if (res.data.success) {
        this.setData({
          ChucStoredActivity: res.data.data.ChucStoredActivity,
          OtherDetailses: res.data.data.OtherDetailses
        })
      }
      else{
        wx.showModal({
          title: '获取失败',
          content: res.data.data,
          showCancel: false,
          success: function (res) {
          }
        })
      }
    })
  },
  chongzhi:function(){
        wx.navigateBack({ changed: false });
  }
})